package demo;

public class Dog extends Animal {
    @Override
    public void func() {
        System.out.println(this.name+"会狗叫！");
    }
}
